<template>
    <li>
        <span>{{username}}</span>
        <span>{{title}}</span>
        <span>{{con}}</span>
        <span>{{formatTime}}</span>
    </li>
</template>
<script>
export default {
    props:['username','con','time','title'],
    computed:{
        formatTime(){
            return new Date(this.time).toLocaleString()
        }
    }
}
</script>
